<template>
	<view class="mine">
		<view class="avatar">
			<img src="../../static/user.png" alt="" />
		</view>
		<view class="content">
			<view class='top' @click="goToForm">登陆/注册</view>
			<view class="characters">登陆更精彩</view>
		</view>
	</view>
</template>

<script>
	export default {
		methods: {
			goToForm(){
				uni.navigateTo({
				  url: '/pages/form/index'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.mine {
		display: flex;
		align-items: center;
		margin: 70rpx auto 0;
		width: 280rpx;

		.avatar {
			img {
				width: 70rpx;
				height: 70rpx;
			}
		}
		.content{
			margin-left: 30rpx;
			.top{
				font-weight: 600;
			}
			.characters{
				color: #9E9E9E;
				margin-top: 10rpx;
				font-size: 25rpx;
			}
		}
	}
</style>